package com.mvp.shq.washer.ui.shop.productComment;

import com.mvp.shq.washer.base.BaseModel;
import com.mvp.shq.washer.base.BasePresenter;
import com.mvp.shq.washer.base.BaseView;
import com.mvp.shq.washer.entity.result.BaseResult;
import com.mvp.shq.washer.entity.shop.ProductComment;
import com.mvp.shq.washer.entity.shop.result.CommentResult;

import java.util.List;

import io.reactivex.Observable;

/**
 * Created by Administrator on 2017/10/10.
 */

public interface ProductCommentConstract {
    interface Model extends BaseModel {
        Observable<BaseResult<CommentResult>> getCommentList(String token, String productId, int pageNo, int pageSize);
    }
    interface View extends BaseView{
        void getCommentListS(CommentResult result);
    }
    abstract class Presenter extends BasePresenter<Model,View>{
        abstract void getCommentList(String productId,int pageNo,int pageSize);
    }
}
